#!/usr/bin/python3

input_c = list(input("please input something:"))

uniq_set = set(input_c)

for i in uniq_set:
    print("{0}:{1}".format(i,input_c.count(i)))